projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48cdd0b
)
Only include unistd.h in POSIX-land.
author
robertl
<robertl>
Thu, 8 Jan 2004 23:47:34 +0000
(23:47 +0000)
committer
robertl
<robertl>
Thu, 8 Jan 2004 23:47:34 +0000
(23:47 +0000)
jeeps/gpsserial.c
patch
|
blob
|
history
diff --git
a/jeeps/gpsserial.c
b/jeeps/gpsserial.c
index fbbfbcbad5ddeece5d542f227038b35ef186f904..a2e24e75edfcef3c198dc5fa97e3d3f1f584fefa 100644
(file)
--- a/
jeeps/gpsserial.c
+++ b/
jeeps/gpsserial.c
@@
-28,7
+28,6
@@
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
-#include <unistd.h>
#include <time.h>
/*
@@
-140,6
+139,7
@@
int32 GPS_Serial_Read(int32 ignored, void *ibuf, int size)
#include <sys/ioctl.h>
#include <sys/time.h>
#include <termios.h>
+#include <unistd.h>
static struct termios gps_ttysave;